package cn.sym.user.mapper;

import cn.sym.user.domain.User;
import cn.sym.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sym
 * @since 2022-02-14
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过电话号码查询user信息
     * @return
     */
    User loadByPhone(String phone);

    /**
     * 根据logininfo_id查询出用户
     * @param id
     * @return
     */
    User loadUserByLogininfoId(Long id);
}
